﻿using System;
using Sharp.Infrastructure;

namespace Sharp.Domain.Model
{
    /// <summary>
    ///     表示继承于该接口的类型是聚合根类型。
    /// </summary>
    public interface IAggregateRoot : IAggregateRoot<Guid>
    {
    }
    /// <summary>
    /// 表示继承于该接口的类型是聚合根类型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IAggregateRoot<T> : IEntity<T> where T : struct
    {
    }
}